package war2100.game;

/**
 * Die jeweiligen Spieler, die dann einer Lobby oder einer Session beitreten
 */

public class Player {
	private int key_up;
	private int key_down;
	private int key_right;
	private int key_left;
	private int key_shot;
	
	private int id;
	private boolean isLocalPlayer;

	public Player(int id, int key_up, int key_down, int key_right, int key_left, int key_shot, boolean isLocalPlayer) {
		this.id = id;
		this.key_up = key_up;
		this.key_down = key_down;
		this.key_right = key_right;
		this.key_left = key_left;
		this.key_shot = key_shot;
		this.isLocalPlayer = isLocalPlayer;
	}

	public int getKey_up() {
		return key_up;
	}

	public void setKey_up(int key_up) {
		this.key_up = key_up;
	}

	public int getKey_down() {
		return key_down;
	}

	public void setKey_down(int key_down) {
		this.key_down = key_down;
	}

	public int getKey_right() {
		return key_right;
	}

	public void setKey_right(int key_right) {
		this.key_right = key_right;
	}

	public int getKey_left() {
		return key_left;
	}

	public void setKey_left(int key_left) {
		this.key_left = key_left;
	}

	public int getKey_shot() {
		return key_shot;
	}

	public void setKey_shot(int key_shot) {
		this.key_shot = key_shot;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isLocalPlayer() {
		return isLocalPlayer;
	}

	public void setLocalPlayer(boolean isLocalPlayer) {
		this.isLocalPlayer = isLocalPlayer;
	}
}
